Reconfigure XSL Transforms for Gate Documents

Due to an updated printer driver in versions 3.2 and above, you must update the XSL layout template so that <table-cell> and <table-row> contain values. If these elements do not contain values, gate printing may fail. The easiest way to update your XSL layout template (XSLT) is to:

  1. Export your existing XSLT from the Document form (on page 1),

  1. Edit it with your choice of XML editor, then

  2. Import the new version on the Document form.

The minimum <table-cell> element should now read:

<fo:table-cell>

<fo:block/>

</fo:table-cell>

The minimum <table-row> element should read:

<fo:table-row>

<fo:table-cell>

<fo:block/>

</fo:table-cell>

</fo:table-row>

If you have empty <table-cell> or <table-row> elements from an earlier version of N4, you must update your XSL Transform to contain at least one block in each table cell and at least one cell in each table row, as shown in the previous paragraphs.

Additionally, localized strings must include the font-family attribute. You can apply the font to each block or specify a single font for the whole document. To specify one font for the whole document, apply the font in the <page-sequence> element under root. For example, to use a font from the SimSun family for Simplified Chinese, you might update to:

<fo:root>

<fo:layout-master-set>

<fo:simple-page-master master-name="simple" margin-top="1in" margin-bottom="1in" margin-left="0.75in" margin-right="0.75in">

<fo:region-body />

</fo:simple-page-master>

</fo:layout-master-set>

<fo:page-sequence master-reference="simple" font-family="SimSun">

The font you choose must be available from C:\Windows\Fonts.